<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: lxf
  Date: 2016/4/21
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<html>
<head>
    <title>Admin Login</title>
    <style>
        .login_div {
            margin: 250px auto;
            width: 500px;
        }
    </style>
</head>
<body>
<div class="login_div">
    <form:form autocomplete="false" commandName="userDTO">
        <div class="input-group">
            <span class="input-group-addon" id="basic-addon-user"><i class="icon-user "></i></span>
            <form:input path="username" cssClass="form-control" placeholder="Username"
                        aria-describedby="basic-addon-user"/>
        </div>
        <br/>
        <div class="input-group">
            <span class="input-group-addon" id="basic-addon-pwd"><i class="icon-lock "></i></span>
            <form:password path="password" cssClass="form-control" placeholder="Password"
                           aria-describedby="basic-addon-pwd"/>
        </div>

        <div class="checkbox">
            <label>
                <input type="checkbox" name="remember-me"/>记住我
            </label>
        </div>
        <input type="submit" class="btn btn-primary" value="submit"/>
    </form:form>
</div>
</body>
</html>
